home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000164_news@columbia.edu _Fri Dec 29 15:12:36 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA20263
for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 29 Dec 2000 15:12:36 -0500 (EST)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA11326
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 29 Dec 2000 15:12:35 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA12879
for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 14:50:07 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: Igor Sobrado <sobrado@string1.ciencias.uniovi.es>
Subject: Re: Converting struct tm to time_t
Date: 29 Dec 2000 19:48:48 GMT
Organization: Universidad de Oviedo
Message-ID: <92ipr0$qsa$1@news01.si.uniovi.es>
To: kermit.misc@columbia.edu
In comp.protocols.kermit.misc Barry Margolin <barmar@genuity.net> wrote:
> I believe the assumption that time_t is an integer seconds since 1/1/1970
> 00:00 UT has been true on all Unix systems. POSIX didn't originate it, it
> simply adopted the de facto standard. Unix programs that deal with time
> have been making this assumption for years. The only change I expect will
> ever happen is the size of the integer type, to deal with the Y2.036K bug.
> ANSI/ISO C generalized it to allow other representations, so you might not
> be able to get away with it on non-Unix-like systems.
At present, we can see 64-bit Unixes in a lot of places. I do not
know what sizeof(long) will return in those servers (in fact, it
will depend too in the development tools used) but I agree with you
in the sense that the Y2036 problem will be solved without changing
time_t in the time.h header file.
Best regards,
Igor.
--
Igor Sobrado, UK34436 - sobrado@acm.org
tch